﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="manage_survey_Item_Add" Codebehind="Item_Add.aspx.cs" %>
<%@ Register Src="~/controls/PageNavigator.ascx" TagName="PageNavigator" TagPrefix="uc1" %>
<%@ Import Namespace="System.Data" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../../sysImages/<%Response.Write(NetCMS.Config.UIConfig.CssPath()); %>/css/css.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/javascript" src="../../configuration/js/Prototype.js"></script>
<script language="JavaScript" type="text/javascript" src="../../configuration/js/Public.js"></script>
</head>
<body>
<form id="form1" runat="server">
  <iframe width="260" height="165" id="colorPalette" src="../../configuration/system/selcolor.htm" style="visibility:hidden; position: absolute;border:1px gray solid; left: 31px; top: 140px;" frameborder="0" scrolling="no" ></iframe>
  <table width="100%" align="center" border="0" cellpadding="0" cellspacing="0" class="toptable">
    <tr>
      <td width="57%" class="sysmain_navi"  style="PADDING-LEFT: 14px" height="30">调查管理</td>
      <td width="43%"  class="topnavichar"  style="PADDING-LEFT: 14px" ><div align="left">位置导航：<a href="../main.aspx" target="sys_main" class="list_link">首页</a><img alt="" src="../../sysImages/folder/navidot.gif" border="0" />调查管理</div></td>
    </tr>
  </table>
        <div>
    <table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" class="Navitable">
      <tr class="menulist">
        <td height="18" style="width: 45%;PADDING-LEFT: 14px" colspan="2"><div align="left"><label id="param_id" runat="server" /><a href="setClass.aspx" class="menulist">投票分类设置</a>&nbsp;┊&nbsp;<a href="VoteTopic.aspx" class="menulist">投票主题设置</a>&nbsp;┊&nbsp;<a href="VoteItem.aspx" class="menulist">投票选项设置</a>&nbsp;┊&nbsp;<a href="ManageVote.aspx" class="menulist">投票情况管理</a> </div></td>
      </tr>
    </table>
  </div>
  <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1"  class="table" id="Addvote_Item">
    <tr class="TR_BG_list">
      <td class="list_link" colspan="2"><asp:Literal runat="server" ID="LtrCap" Text="新闻"></asp:Literal>问卷调查选项信息</td>
    </tr>
    <tr class="TR_BG_list">
      <td align="right"  class="list_link" style="width: 171px"> 所属投票：</td>
      <td  align="left" class="list_link"><asp:DropDownList ID="DdlTopic" runat="server"  CssClass="form"> </asp:DropDownList>
        <span class="helpstyle" style="cursor:help;" title="点击查看帮助" onclick="Help('H_surveyitem_0001',this)">帮助</span> </td>
    </tr>
    <tr class="TR_BG_list">
      <td align="right"  class="list_link" style="width: 171px"> 选项描述：</td>
      <td  align="left" class="list_link"><asp:TextBox ID="TxtName" runat="server" Width="124px"  CssClass="form"/>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtName"
              Display="Dynamic" ErrorMessage="请填写名称!" SetFocusOnError="True"></asp:RequiredFieldValidator><span class="helpstyle" style="cursor:help;" title="点击查看帮助" onclick="Help('H_surveyitem_0002',this)">帮助</span></td>
    </tr>
    
    <tr class="TR_BG_list">
      <td align="right"  class="list_link" style="width: 171px"> 选项模式：</td>
      <td  align="left" class="list_link"><asp:DropDownList ID="DdlMode" runat="server"  CssClass="form">
          <asp:ListItem Value="1">文字描述模式</asp:ListItem>
          <asp:ListItem Value="2">图片模式</asp:ListItem>
        </asp:DropDownList>
        <span class="helpstyle" style="cursor:help;" title="点击查看帮助" onclick="Help('H_surveyitem_0004',this)">帮助</span> </td>
    </tr>
    <tr class="TR_BG_list">
      <td align="right"  class="list_link" style="width: 171px"> 图片位置：</td>
      <td  align="left" class="list_link"><asp:TextBox ID="TxtPicSrc" runat="server" Width="124px"  CssClass="form"/>
        &nbsp;
        <input type="button" name="PicSrcClick" value=" 选择图片 " class="form" id="PicSrcClick" onclick="selectFile('pic',document.form1.TxtPicSrc,280,500);document.form1.TxtPicSrc.focus();"/>
        <span class="helpstyle" style="cursor:help;" title="点击查看帮助" onclick="Help('H_surveyitem_0005',this)">帮助</span></td>
    </tr>
    <tr class="TR_BG_list">
      <td align="right" class="list_link" style="width: 171px"> 显示颜色：</td>
      <td  align="left" class="list_link"><asp:TextBox ID="TxtDisColor" runat="server"  CssClass="form"/>
        <img src="../../sysImages/FileIcon/Rect.gif" alt="-" name="MarkFontColor_Show" width="18" height="17" border="0" align="absmiddle" id="MarkFontColor_Show" style="cursor:pointer;background-color:#<%= TxtDisColor.Text%>;"title="选取颜色" onclick="GetColor(this,'TxtDisColor');"><span class="helpstyle" style="cursor:help;" title="点击查看帮助" onClick="Help('H_surveyitem_0006',this)">帮助</span></td>
    </tr>
    <tr class="TR_BG_list">
      <td align="right"  class="list_link" style="width: 171px"> 当前票数：</td>
      <td  align="left" class="list_link"><asp:TextBox ID="TxtVoteCount" runat="server" Width="124px"  CssClass="form" Text="0"/>
          <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="TxtVoteCount"
              Display="Dynamic" ErrorMessage="当前票数必须为整数！" MaximumValue="2147483647" MinimumValue="-2147483648"
              SetFocusOnError="True" Type="Integer"></asp:RangeValidator>
        <span class="helpstyle" style="cursor:help;" title="点击查看帮助" onClick="Help('H_surveyitem_0007',this)">帮助</span></td>
    </tr>
    <tr class="TR_BG_list">
      <td align="right"  class="list_link" style="width: 171px"> 选项详细说明：</td>
      <td  align="left" class="list_link"><textarea id="TxtDetail" runat="server" style="width: 290px; height: 103px" class="form"/>
        <span class="helpstyle" style="cursor:help;" title="点击查看帮助" onClick="Help('H_surveyitem_0008',this)">帮助</span></td>
    </tr>
    <tr class="TR_BG_list">
      <td align="center"  colspan="2" class="list_link"><label>
        <input type="submit" name="Saveitem" value=" 提 交 " class="form" id="BtnSave" runat="server" onserverclick="BtnSave_ServerClick" />
        </label>
        &nbsp;&nbsp;
        <label>
        <input type="reset" name="Clearitem" value=" 重 填 " class="form" id="Clearitem" runat="server" />
        </label></td>
    </tr>
  </table>
 <asp:HiddenField runat="server" ID="HidIid" />
</form>
<table width="100%" border="0" cellpadding="8" cellspacing="0" class="copyright_bg" style="height: 76px">
  <tr>
    <td align="center"><label id="copyright" runat="server" /></td>
  </tr>
</table>
</body>
</html>
